package com.golte.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @verson: 1.0
 * @description: 个人中心
 * @author: chenhuan
 * @date: 2021/6/1
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PersonCenterDto {

    @ApiModelProperty(value = "用户工号", dataType = "String")
    private String userCode;

    @ApiModelProperty(value = "用户姓名", dataType = "String")
    private String cnName;

    @ApiModelProperty(value = "手机号", dataType = "String")
    private String mobile1;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "出生日期", dataType = "String")
    private Date birthday;

    @ApiModelProperty(value = "邮箱", dataType = "String")
    private String email;

    @ApiModelProperty(value = "性别", dataType = "String")
    private String sex;

    @ApiModelProperty(value = "用户类型", dataType = "String")
    private String userType;

    @ApiModelProperty(value = "职位", dataType = "String")
    private String title;

    @ApiModelProperty(value = "用户类型名称", dataType = "String")
    private String userTypeName;

    @ApiModelProperty(value = "机构代码", dataType = "String")
    private String firstOrgCode;

    @ApiModelProperty(value = "机构名称", dataType = "String")
    private String firstOrgName;

}
